<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>sayHello</title>
</head>
<body>
    <div id="app">
        {{name}} 是班长
    </div>

    <script src="./node_modules/vue/dist/vue.js"></script>
    <script type="text/javascript">
        //构建vue实例，这个实例所监控的视图为页面上id为app
        let vue = new Vue({
           el:"#app",
            data:{
               name:"刘德华"
            }
        });
    </script>
</body>
</html>